<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>九宫格	</title>
		<style type="text/css">
			*{
				font-family: "微软雅黑";
			}
			body,ul,li,a{
				margin: 0;
				padding: 0;
				list-style: none;
			}
			.clearfix::after{
				content: "";
				display: table;
				clear: both;
			}
			.list{
				width: 300px;
				height: 300px;
				border: 1px solid gray;
				margin: 50px;
				padding-left: 1px;
				padding-top: 1px;
			}
			.list li{
				float: left;
				width: 98px;
				height: 98px;
				border: 1px solid red;
				margin-left: -1px;
				margin-top: -1px;
			}
			
		</style>
	</head>
	<body>
		<ul class="list clearfix">
			<li><a href="">九宫格</a></li>
			<li><a href="">九宫格</a></li>
			<li><a href="">九宫格</a></li>
			<li><a href="">九宫格</a></li>
			<li><a href="">九宫格</a></li>
			<li><a href="">九宫格</a></li>
			<li><a href="">九宫格</a></li>
			<li><a href="">九宫格</a></li>
			<li><a href="">九宫格</a></li>
		</ul>
	</body>
</html>
